package com.hqj.client.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author 黄啟军
 * @version 1.0
 * @date 2020/5/16/016
 */
@ApiModel(description = "UserRole",value = "UserRole")
@TableName(value="user_role")
@Data
public class UserRole implements Serializable{

	@ApiModelProperty(value = "用户id",required = false)
     @TableId(value = "user_id", type = IdType.AUTO)
	private Long userId;

	@ApiModelProperty(value = "角色id",required = false)
	private Long roleId;






}
